package com.lhh.test2;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther 虎
 * @Data 2020/4/12 17:56
 * @Version 1.0
 */
@SuppressWarnings("unused")
@ConfigurationProperties(prefix = "lhh.auto")
public class LhhProperties {
    /**
     * 自动配置类是否生效
     */
    private boolean enable;

    public boolean isEnable(){return enable;}

    public void setEnable(boolean enable){this.enable = enable;}
}
